﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;

/// <summary>
/// Summary description for FiveSistersCore
/// </summary>
public class FiveSistersCore
{
    public static string SessionUserName = "FiveSistersUserName";
    public static string SessionUserId = "FiveSistersUserId";
    public static string Cart = "Cart";

    public static string PageLogin = "~/Login.aspx";
    public static string PageLogout = "~/Logout.aspx";
    public static string PageDefaultWhenLoggedIn = "~/";
    public static bool IsAuthenticate(HttpSessionState session)
    {
        bool ret = false;
        if (session[SessionUserName] != null)
        {
            ret = true;
        }

        ret = true;

        return ret;
    }
}